/*
 * Armaduras,
 *
 * This is part of the game The Rooms
 * Copyright (C) 2010  Elvio Sarquis
 *
 * Get the GNU GPL v3 in http://www.gnu.org/licenses/
 */

package rooms.items;

/**
 *
 * @author dask
 */
public class Armor extends Item {

    private int kind;
    private int material;
    private int protection;
    private int cover;

    public Armor(String name, String description, int x, int y, int weight, int price, int color, char symbol, int kind, int material, int protection,
            int cover){

        super(name, description, x, y, weight, price, color, symbol);

        this.kind = kind;
        this.material = material;
        this.protection = protection;
        this.cover = cover;
    }

    public Armor(Armor armor){

        super((Item) armor);

        this.kind = armor.kind;
        this.material = armor.material;
        this.protection = armor.protection;
        this.cover = armor.cover;
    }

// <editor-fold defaultstate="collapsed" desc="Getters">
    public int getKind() {
        return kind;
    }

    public int getMaterial() {
        return material;
    }

    public int getProtection() {
        return protection;
    }

    public int getCover() {
        return cover;
    }// </editor-fold>

// <editor-fold defaultstate="collapsed" desc="Setters">
    public void setKind(int kind) {
        this.kind = kind;
    }

    public void setMaterial(int material) {
        this.material = material;
    }

    public void setProtection(int protection) {
        this.protection = protection;
    }

    public void setCover(int cover) {
        this.cover = cover;
    }// </editor-fold>
}